package com.quanquan.user.controller;

import com.quanquan.user.service.weixin.Proxy;
import com.quanquan.user.service.weixin.template.TemplateRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName:SendTestController
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/5/14 16:41
 * @Version 1.0
 */
@RestController
@RequestMapping("/send_test")
public class SendTestController {

    @Autowired
    private Proxy proxy;

    @PostMapping("/tt")
    public void test(@RequestBody TemplateRequest templateRequest){
        proxy.sendIntegralSumTemplate(templateRequest);
    }

}
